<div>

  <%= form_for @user, :html => { :multipart => true } do |f|%>
      <%= gravatar_for @user%>
        <br><br>
        <p><%=@user.name %></p>
        <br><br>
  <div class="input-group">
    <span class="input-group-addon">
      <span class="glyphicon glyphicon-envelope " aria-hidden="true"></span>
    </span>
    <%=f.text_field :email,class: 'form-control',placeholder: 'Edit new email' %>
  </div>
      <br>
  <div class="input-group">
    <span class="input-group-addon">
      <span class="glyphicon glyphicon-user " aria-hidden="true"></span>
    </span>
        <%=f.text_field :name,class: 'form-control',placeholder: 'Edit new name' %>
  </div>
    <br>
  <div class="input-group">
    <span class="input-group-addon">
      <span class="glyphicon glyphicon-lock " aria-hidden="true"></span>
    </span>
    <%=f.password_field :password,class: 'form-control',placeholder: 'Edit new password' %>
  </div>
      <br>

  <button type="submit" class="btn btn-success btn-lg btn-block">确&nbsp;&nbsp;定</button>
  <%end%>
  </div>

<!--<#%= link_to '编辑',{:controller => "nurse_aid/nurse_info", :action => "edit", :id => item.id, :page => params[:page], :per_page => params[:per_page]}, :class => 'btn btn-default' %>-->
<!--<input type="hidden" name="id" value="<#%= @exam_storage_id%>"/>-->
